package router

import (
	"fx_swift_ifcgate/internal/controller"
	"fx_swift_ifcgate/pkg/middleware"
)

func MerChantVARouter() {
	merChantVApiVer := miniApiVer.Group("merchant", middleware.CheckAuth())
	{
		merChantVApiVer.POST("merChantOnboard", controller.MerChantOnboard)
		merChantVApiVer.POST("createMerChantTemp", controller.CreateMerChantTemp)
		merChantVApiVer.GET("getMerChantTemp", controller.GetMerChantTemp)
		merChantVApiVer.GET("queryBusinessNature", controller.QueryBusinessNature)
		merChantVApiVer.GET("queryPaymentPurpose", controller.QueryPaymentPurpose)
		merChantVApiVer.GET("querySourceFund", controller.QuerySourceFund)
		merChantVApiVer.GET("queryTransaction", controller.QueryTransaction)
		merChantVApiVer.GET("queryTurnover", controller.QueryTurnover)
		merChantVApiVer.POST("upLoadFiles", controller.UpLoadFiles)
		merChantVApiVer.GET("getMerChantName", controller.GetMerChantName)
		merChantVApiVer.GET("queryMerChantMessage", controller.QueryMerChantMessage)
	}
}
